package com.example.study.service.impl;

import com.example.study.service.ICarService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class CarServiceImpl implements ICarService {

    @Override
    public String queryCarName() {
        return "无参数传入返回结果";
    }

    @Override
    public String queryCarName(String param) {
        return "1个参数传入返回结果1，参数为：" + param;
    }

    @Override
    public String queryCarName(String param1, String param2) {
        return "2个参数传入返回结果1，参数1为：" + param1 + "，参数2为：" + param2;
    }
}
